package com.chenhaonan.service.impl;

import com.chenhaonan.Mapper.EmployeeDao;
import com.chenhaonan.domain.Employee;
import com.chenhaonan.service.EmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EmployeeServiceImpl implements EmployeeService  {
@Autowired
private EmployeeDao dao;
    @Override
    public List<Employee> selects() {
        return dao.selects();
    }
}
